package action;

import manager.ComManager;
import manager.LoadVariousList;
import manager.ObjectFactory;
import bean.DeconnectionMessage;

public class ActionDeconnection {

	public void doDeconnection(){
		ObjectFactory of = new ObjectFactory();
		ComManager com = of.createComManager();
		DeconnectionMessage mOut = of.createDeconnectionMessage();
		mOut.setIdUser(LoadVariousList.getIdUser());
		com.sendMessage(mOut);
	}
}
